body {
  margin: 0;
  font-size: 12px;
}

#stage {
  margin: 150px auto;
  width: 600px;
  height: 400px;
  perspective: 800px;
}

#rotate {
  margin: 0 auto;
  width: 600px;
  height: 400px;
  transform-style: preserve-3d;
  animation-name: x-spin;
  animation-duration: 7s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.ring {
  margin: 0 auto;
  width: 600px;
  height: 110px;
  transform-style: preserve-3d;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.ring > :nth-child(odd) {
  background-color: #995c7f;
}

.ring > :nth-child(even) {
  background-color: #835a99;
}

.poster {
  position: absolute;
  left: 250px;
  width: 100px;
  height: 100px;
  opacity: 0.7;
  color: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
}

.poster > p {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-top: 28px;
}

#ring-1 {
  animation-name: y-spin;
  animation-duration: 5s;
}

#ring-2 {
  animation-name: back-y-spin;
  animation-duration: 4s;
}

#ring-3 {
  animation-name: y-spin;
  animation-duration: 3s;
}

@keyframes x-spin {
  0% {
    transform: rotateX(0deg);
  }
  50% {
    transform: rotateX(180deg);
  }
  100% {
    transform: rotateX(360deg);
  }
}

@keyframes y-spin {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes back-y-spin {
  0% {
    transform: rotateY(360deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}
